require 'rubygems'
require 'spec'
 
#require 'funfx/browser/safariwatir'
#BROWSER = Watir::Safari.new
require 'funfx/browser/firewatir'
BROWSER = FireWatir::Firefox.new
#require 'funfx/browser/watir'
#BROWSER = Watir::IE.new
 
DEMO_APP = "http://localhost:8080/blaze-poc-web/index.jsp"
 
Before do
  BROWSER.goto(DEMO_APP)
  @flex = BROWSER.flex_app('cntent', 'cntent')
end
 
at_exit do
  BROWSER.close
end